package demo.demo02;

public class DoWhile {
    public static void main(String[] args) {
        int sum = 0;
        do {             //执行语句
            System.out.println(sum);
            sum += 1;        //不加则是死循环  一直打印0
        }
        while (sum <= 100);//条件表达式
    }
}
